import {NgModule} from '@angular/core';
import {GnJsonFormModule, GnRouteGuard} from 'geminis-ng';
import {CommonModule} from '@angular/common';
import {RouterModule, Routes} from '@angular/router';
import {EditComponent} from "./edit.component";

const routes: Routes = [
  {
    path: '',
    component: EditComponent,
    canActivate: [GnRouteGuard]
  }
];

@NgModule({
  declarations: [
    EditComponent
  ],
  imports: [
    RouterModule.forChild(routes),
    CommonModule,

    GnJsonFormModule,
  ]
})

export class EditModule {
}
